[INFO] fetching crate cfn-guard 2.0.4...
[INFO] checking cfn-guard-2.0.4 against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] extracting crate cfn-guard 2.0.4 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate cfn-guard 2.0.4 on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cfn-guard 2.0.4
[INFO] finished tweaking crates.io crate cfn-guard 2.0.4
[INFO] tweaked toml for crates.io crate cfn-guard 2.0.4 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate crates.io crate cfn-guard 2.0.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37f4a48080a640304f9b98b5edc5fd49d36552d80d02a98aba5e8f401ba1434a
[INFO] running `Command { std: "docker" "start" "-a" "37f4a48080a640304f9b98b5edc5fd49d36552d80d02a98aba5e8f401ba1434a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37f4a48080a640304f9b98b5edc5fd49d36552d80d02a98aba5e8f401ba1434a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37f4a48080a640304f9b98b5edc5fd49d36552d80d02a98aba5e8f401ba1434a", kill_on_drop: false }`
[INFO] [stdout] 37f4a48080a640304f9b98b5edc5fd49d36552d80d02a98aba5e8f401ba1434a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4a2011f6d66a8941bc4caab3f2e609e8e898ddc5030b252bae3850dc57f3cac
[INFO] running `Command { std: "docker" "start" "-a" "a4a2011f6d66a8941bc4caab3f2e609e8e898ddc5030b252bae3850dc57f3cac", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling libc v0.2.107
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_json v1.0.71
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking unicode-segmentation v1.8.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking bytecount v0.6.2
[INFO] [stderr]     Checking dtoa v0.4.8
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking string-builder v0.2.0
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking heck v0.3.3
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking simple_logger v1.13.0
[INFO] [stderr]     Checking nom_locate v2.1.0
[INFO] [stderr]    Compiling enumflags2_derive v0.7.0
[INFO] [stderr]     Checking enumflags2 v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.8.21
[INFO] [stderr]     Checking cfn-guard v2.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `WhenConditions`
[INFO] [stdout]  --> src/rules/evaluate.rs:9:114
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::rules::exprs::{GuardClause, GuardNamedRuleClause, QueryPart, RuleClause, TypeBlock, BlockGuardClause, WhenConditions, WhenGuar...
[INFO] [stdout]   |                                                                                                                  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/rules/evaluate.rs:684:12
[INFO] [stdout]     |
[INFO] [stdout] 684 |         Ok('outer: loop {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/rules/path_value.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED`
[INFO] [stdout]   --> src/commands/validate.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::commands::{ALPHABETICAL, LAST_MODIFIED};
[INFO] [stdout]    |                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regular_ordering`
[INFO] [stdout]   --> src/commands/validate.rs:12:83
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::commands::files::{alpabetical, get_files, iterate_over, last_modified, regular_ordering};
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path_value`
[INFO] [stdout]  --> src/commands/validate/common.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::{EvaluationType, path_value, Status};
[INFO] [stdout]   |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rules::path_value::Path`
[INFO] [stdout]  --> src/commands/validate/common.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::rules::path_value::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::rules::errors::{Error, ErrorKind};
[INFO] [stdout]    |                            ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Ref`
[INFO] [stdout]  --> src/commands/tracker.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::Ref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QueryPart`
[INFO] [stdout]  --> src/commands/aws_meta_appender.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::rules::exprs::{QueryPart, AccessQuery};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/migrate/parser.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WhenConditions`
[INFO] [stdout]  --> src/rules/evaluate.rs:9:114
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::rules::exprs::{GuardClause, GuardNamedRuleClause, QueryPart, RuleClause, TypeBlock, BlockGuardClause, WhenConditions, WhenGuar...
[INFO] [stdout]   |                                                                                                                  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/rules/evaluate.rs:684:12
[INFO] [stdout]     |
[INFO] [stdout] 684 |         Ok('outer: loop {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2087:23
[INFO] [stdout]      |
[INFO] [stdout] 2087 |     struct Reporter {};
[INFO] [stdout]      |                       ^ help: remove this semicolon
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2152:60
[INFO] [stdout]      |
[INFO] [stdout] 2152 |     struct Reporter<'a> { root: &'a dyn EvaluationContext };
[INFO] [stdout]      |                                                            ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/rules/values_tests.rs:124:6
[INFO] [stdout]     |
[INFO] [stdout] 124 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/rules/values_tests.rs:217:27
[INFO] [stdout]     |
[INFO] [stdout] 217 |     struct DummyResolver{};
[INFO] [stdout]     |                           ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/rules/path_value.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED`
[INFO] [stdout]   --> src/commands/validate.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::commands::{ALPHABETICAL, LAST_MODIFIED};
[INFO] [stdout]    |                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regular_ordering`
[INFO] [stdout]   --> src/commands/validate.rs:12:83
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::commands::files::{alpabetical, get_files, iterate_over, last_modified, regular_ordering};
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path_value`
[INFO] [stdout]  --> src/commands/validate/common.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::{EvaluationType, path_value, Status};
[INFO] [stdout]   |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rules::path_value::Path`
[INFO] [stdout]  --> src/commands/validate/common.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::rules::path_value::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::rules::errors::{Error, ErrorKind};
[INFO] [stdout]    |                            ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::command::Command`
[INFO] [stdout]  --> src/commands/validate_tests.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::command::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Ref`
[INFO] [stdout]  --> src/commands/tracker.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::Ref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QueryPart`
[INFO] [stdout]  --> src/commands/aws_meta_appender.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::rules::exprs::{QueryPart, AccessQuery};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::super::common_test_helpers::DummyEval`
[INFO] [stdout]  --> src/commands/aws_meta_appender_tests.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::super::common_test_helpers::DummyEval;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     struct Capture {};
[INFO] [stdout]    |                      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/migrate/parser.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rules::values::Value::Bool`
[INFO] [stdout]  --> src/migrate/parser_tests.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::values::Value::Bool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/validate.rs:46:28
[INFO] [stdout]    |
[INFO] [stdout] 46 |               writer: &mut Write,
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 -               writer: &mut Write,
[INFO] [stdout] 46 +               writer: &mut dyn Write,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/validate.rs:46:28
[INFO] [stdout]    |
[INFO] [stdout] 46 |               writer: &mut Write,
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 -               writer: &mut Write,
[INFO] [stdout] 46 +               writer: &mut dyn Write,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::Colorize`
[INFO] [stdout]  --> src/rules/evaluate.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::Colorize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitFlag`
[INFO] [stdout]   --> src/commands/validate.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | use enumflags2::{BitFlag, BitFlags};
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]   --> src/commands/validate/common.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 |               skipped: HashSet<String>, longest_rule_len: usize) -> crate::rules::Result<()>
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]    --> src/commands/validate/common.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |     longest_rule_len: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitFlag`
[INFO] [stdout]   --> src/commands/validate.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | use enumflags2::{BitFlag, BitFlags};
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2089:36
[INFO] [stdout]      |
[INFO] [stdout] 2089 |         fn resolve_variable(&self, variable: &str) -> Result<Vec<&PathAwareValue>> {
[INFO] [stdout]      |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule_name`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2093:31
[INFO] [stdout]      |
[INFO] [stdout] 2093 |         fn rule_status(&self, rule_name: &str) -> Result<Status> {
[INFO] [stdout]      |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2097:61
[INFO] [stdout]      |
[INFO] [stdout] 2097 | ... eval_type: EvaluationType, context: &str, msg: String, from: Option<PathAwareValue>, to: Option<PathAwareValue>, status: Option<Statu...
[INFO] [stdout]      |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eval_type`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2117:36
[INFO] [stdout]      |
[INFO] [stdout] 2117 |         fn start_evaluation(&self, eval_type: EvaluationType, context: &str) {
[INFO] [stdout]      |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2117:63
[INFO] [stdout]      |
[INFO] [stdout] 2117 |         fn start_evaluation(&self, eval_type: EvaluationType, context: &str) {
[INFO] [stdout]      |                                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clause`
[INFO] [stdout]     --> src/rules/parser_tests.rs:4121:17
[INFO] [stdout]      |
[INFO] [stdout] 4121 |     let (_span, clause) = rule_block_clause(from_str2(when_inside_when))?;
[INFO] [stdout]      |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clause`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]   --> src/commands/validate/common.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 |               skipped: HashSet<String>, longest_rule_len: usize) -> crate::rules::Result<()>
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]    --> src/commands/validate/common.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |     longest_rule_len: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:42:36
[INFO] [stdout]    |
[INFO] [stdout] 42 |         fn resolve_variable(&self, variable: &str) -> Result<Vec<&PathAwareValue>> {
[INFO] [stdout]    |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule_name`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |         fn rule_status(&self, rule_name: &str) -> Result<Status> {
[INFO] [stdout]    |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eval_type`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:34
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...   fn end_evaluation(&self, eval_type: EvaluationType, context: &str, msg: String, from: Option<PathAwareValue>, to: Option<PathAwareV...
[INFO] [stdout]    |                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:61
[INFO] [stdout]    |
[INFO] [stdout] 50 | ... eval_type: EvaluationType, context: &str, msg: String, from: Option<PathAwareValue>, to: Option<PathAwareValue>, status: Option<Statu...
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:89
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...e, context: &str, msg: String, from: Option<PathAwareValue>, to: Option<PathAwareValue>, status: Option<Status>, _cmp: Option<(CmpOper...
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:119
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...g, from: Option<PathAwareValue>, to: Option<PathAwareValue>, status: Option<Status>, _cmp: Option<(CmpOperator, bool)>) {
[INFO] [stdout]    |                                     ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:147
[INFO] [stdout]    |
[INFO] [stdout] 50 | ... to: Option<PathAwareValue>, status: Option<Status>, _cmp: Option<(CmpOperator, bool)>) {
[INFO] [stdout]    |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eval_type`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:57:36
[INFO] [stdout]    |
[INFO] [stdout] 57 |         fn start_evaluation(&self, eval_type: EvaluationType, context: &str) {
[INFO] [stdout]    |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:57:63
[INFO] [stdout]    |
[INFO] [stdout] 57 |         fn start_evaluation(&self, eval_type: EvaluationType, context: &str) {
[INFO] [stdout]    |                                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]    --> src/rules/evaluate.rs:936:5
[INFO] [stdout]     |
[INFO] [stdout] 935 | pub(crate) struct RootScope<'s, 'loc> {
[INFO] [stdout]     |                   --------- field in this struct
[INFO] [stdout] 936 |     rules: &'s RulesFile<'loc>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `RootScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_type` is never read
[INFO] [stdout]     --> src/rules/evaluate.rs:1034:5
[INFO] [stdout]      |
[INFO] [stdout] 1033 | pub(crate) struct BlockScope<'s, T> {
[INFO] [stdout]      |                   ---------- field in this struct
[INFO] [stdout] 1034 |     block_type: &'s Block<'s, T>,
[INFO] [stdout]      |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `comparison` is never used
[INFO] [stdout]     --> src/rules/evaluate.rs:1151:19
[INFO] [stdout]      |
[INFO] [stdout] 1151 |     pub(super) fn comparison(&mut self, status: Status, from: Option<PathAwareValue>, to: Option<PathAwareValue>, cmp: (CmpOperator, bool...
[INFO] [stdout]      |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `context` is never used
[INFO] [stdout]   --> src/rules/parser.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub(crate) fn context(&self) -> &str {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `span` is never used
[INFO] [stdout]   --> src/rules/parser.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub(crate) fn span(&self) -> &Span<'a> {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `kind` is never used
[INFO] [stdout]   --> src/rules/parser.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub(crate) fn kind(&self) -> nom::error::ErrorKind {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_linked_hashmap` is never used
[INFO] [stdout]    --> src/rules/values.rs:309:15
[INFO] [stdout]     |
[INFO] [stdout] 309 | pub(super) fn make_linked_hashmap<'a, I>(values: I) -> IndexMap<String, Value>
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_binary` is never used
[INFO] [stdout]   --> src/rules/values.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub(crate) fn is_binary(&self) -> bool { !self.is_unary() }
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `drop_last` is never used
[INFO] [stdout]   --> src/rules/path_value.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub(crate) fn drop_last(&mut self) -> &mut Self {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `extend_with_value` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub(crate) fn extend_with_value(&self, part: &Value) -> Result<Path, Error> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_scalar` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:675:19
[INFO] [stdout]     |
[INFO] [stdout] 675 |     pub(crate) fn is_scalar(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RULES` is never used
[INFO] [stdout]   --> src/commands/mod.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r");
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA` is never used
[INFO] [stdout]   --> src/commands/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d");
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_and_return_json` is never used
[INFO] [stdout]    --> src/commands/validate.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn validate_and_return_json(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_file_name` is never read
[INFO] [stdout]    --> src/commands/validate.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub(crate) struct ConsoleReporter<'r> {
[INFO] [stdout]     |                   --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 337 |     data_file_name: &'r str,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConsoleReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/validate.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct GenericSummary<'a> {
[INFO] [stdout]    |                   -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GenericSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub(crate) struct CfnReporter<'a> {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CfnReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/rulegen.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/test.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/parse_tree.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_resource_types_in_ruleset` is never used
[INFO] [stdout]    --> src/commands/migrate.rs:132:16
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub (crate) fn get_resource_types_in_ruleset(rules: &Vec<RuleLineType>) -> Result<Vec<TypeName>> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/migrate.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     data: &str,
[INFO] [stdout]    |           ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     rules: &str,
[INFO] [stdout]    |            ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<std::string::String, errors::Error>`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | ) -> crate::rules::Result<String> {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/rules/evaluate.rs:950:9
[INFO] [stdout]     |
[INFO] [stdout] 950 | /         extract_variables(&rules.assignments,
[INFO] [stdout] 951 | |                           &mut literals,
[INFO] [stdout] 952 | |                           &mut pending);
[INFO] [stdout]     | |________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/rules/evaluate.rs:1046:9
[INFO] [stdout]      |
[INFO] [stdout] 1046 | /         extract_variables(&block_type.assignments,
[INFO] [stdout] 1047 | |                           &mut literals,
[INFO] [stdout] 1048 | |                           &mut pending);
[INFO] [stdout]      | |________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/rules/values.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 write!(f, "{},{}", range.lower, range.upper);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate.rs:201:21
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     reader.read_to_string(&mut context);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |             reader.read_to_string(&mut context);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate/generic_summary.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             writeln!(writer, "--");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/common.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 | /         match &self.hierarchy_type {
[INFO] [stdout] 97 | |             StructureType::JSON => writeln!(writer, "{}", serde_json::to_string(&value)?),
[INFO] [stdout] 98 | |             StructureType::YAML => writeln!(writer, "{}", serde_yaml::to_string(&value)?),
[INFO] [stdout] 99 | |         };
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             writeln!(writer, "{}", "SKIP rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |             writeln!(writer, "{}", "PASS rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             writeln!(writer, "{}", "FAILED rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate/cfn_reporter.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             writeln!(writer, "--");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/rulegen.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             write!(writer,"{}", generated_rules);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/migrate.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             writeln!(&mut migrated, "{}", assignment);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/migrate.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         writeln!(&mut migrated, "let {} = Resources.*[ Type == \"{}\" ]", each_type, each_type.type_name);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         writeln!(&mut migrated, "rule {name}_checks WHEN %{name} NOT EMPTY {{", name=each_type);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         writeln!(&mut migrated, "    %{} {{", each_type);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             writeln!(&mut migrated, "        {}", *each_clause);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         writeln!(&mut migrated, "    }}\n}}\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `query:` in this pattern is redundant
[INFO] [stdout]   --> src/commands/aws_meta_appender.rs:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   let AccessQuery { query: query, match_all: all } =
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ help: use shorthand field pattern: `query`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_shorthand_field_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/migrate/parser.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         writeln!(f, "when {} {{", self.when_condition);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/migrate/parser.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         writeln!(f, "            {}", self.check_condition);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 68 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WhenConditions`
[INFO] [stdout]  --> src/rules/evaluate.rs:9:114
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::rules::exprs::{GuardClause, GuardNamedRuleClause, QueryPart, RuleClause, TypeBlock, BlockGuardClause, WhenConditions, WhenGuar...
[INFO] [stdout]   |                                                                                                                  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/rules/evaluate.rs:684:12
[INFO] [stdout]     |
[INFO] [stdout] 684 |         Ok('outer: loop {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/rules/path_value.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED`
[INFO] [stdout]   --> src/commands/validate.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::commands::{ALPHABETICAL, LAST_MODIFIED};
[INFO] [stdout]    |                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regular_ordering`
[INFO] [stdout]   --> src/commands/validate.rs:12:83
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::commands::files::{alpabetical, get_files, iterate_over, last_modified, regular_ordering};
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path_value`
[INFO] [stdout]  --> src/commands/validate/common.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::{EvaluationType, path_value, Status};
[INFO] [stdout]   |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rules::path_value::Path`
[INFO] [stdout]  --> src/commands/validate/common.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::rules::path_value::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::rules::errors::{Error, ErrorKind};
[INFO] [stdout]    |                            ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Ref`
[INFO] [stdout]  --> src/commands/tracker.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::Ref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QueryPart`
[INFO] [stdout]  --> src/commands/aws_meta_appender.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::rules::exprs::{QueryPart, AccessQuery};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/migrate/parser.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WhenConditions`
[INFO] [stdout]  --> src/rules/evaluate.rs:9:114
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::rules::exprs::{GuardClause, GuardNamedRuleClause, QueryPart, RuleClause, TypeBlock, BlockGuardClause, WhenConditions, WhenGuar...
[INFO] [stdout]   |                                                                                                                  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/rules/evaluate.rs:684:12
[INFO] [stdout]     |
[INFO] [stdout] 684 |         Ok('outer: loop {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2087:23
[INFO] [stdout]      |
[INFO] [stdout] 2087 |     struct Reporter {};
[INFO] [stdout]      |                       ^ help: remove this semicolon
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2152:60
[INFO] [stdout]      |
[INFO] [stdout] 2152 |     struct Reporter<'a> { root: &'a dyn EvaluationContext };
[INFO] [stdout]      |                                                            ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/rules/values_tests.rs:124:6
[INFO] [stdout]     |
[INFO] [stdout] 124 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/rules/values_tests.rs:217:27
[INFO] [stdout]     |
[INFO] [stdout] 217 |     struct DummyResolver{};
[INFO] [stdout]     |                           ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/rules/path_value.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED`
[INFO] [stdout]   --> src/commands/validate.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::commands::{ALPHABETICAL, LAST_MODIFIED};
[INFO] [stdout]    |                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regular_ordering`
[INFO] [stdout]   --> src/commands/validate.rs:12:83
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::commands::files::{alpabetical, get_files, iterate_over, last_modified, regular_ordering};
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path_value`
[INFO] [stdout]  --> src/commands/validate/common.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::{EvaluationType, path_value, Status};
[INFO] [stdout]   |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rules::path_value::Path`
[INFO] [stdout]  --> src/commands/validate/common.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::rules::path_value::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::rules::errors::{Error, ErrorKind};
[INFO] [stdout]    |                            ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::command::Command`
[INFO] [stdout]  --> src/commands/validate_tests.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::command::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Ref`
[INFO] [stdout]  --> src/commands/tracker.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::Ref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QueryPart`
[INFO] [stdout]  --> src/commands/aws_meta_appender.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::rules::exprs::{QueryPart, AccessQuery};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::super::common_test_helpers::DummyEval`
[INFO] [stdout]  --> src/commands/aws_meta_appender_tests.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::super::common_test_helpers::DummyEval;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     struct Capture {};
[INFO] [stdout]    |                      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/migrate/parser.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rules::values::Value::Bool`
[INFO] [stdout]  --> src/migrate/parser_tests.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::values::Value::Bool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/validate.rs:46:28
[INFO] [stdout]    |
[INFO] [stdout] 46 |               writer: &mut Write,
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 -               writer: &mut Write,
[INFO] [stdout] 46 +               writer: &mut dyn Write,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]    --> src/rules/evaluate.rs:936:5
[INFO] [stdout]     |
[INFO] [stdout] 935 | pub(crate) struct RootScope<'s, 'loc> {
[INFO] [stdout]     |                   --------- field in this struct
[INFO] [stdout] 936 |     rules: &'s RulesFile<'loc>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `RootScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_type` is never read
[INFO] [stdout]     --> src/rules/evaluate.rs:1034:5
[INFO] [stdout]      |
[INFO] [stdout] 1033 | pub(crate) struct BlockScope<'s, T> {
[INFO] [stdout]      |                   ---------- field in this struct
[INFO] [stdout] 1034 |     block_type: &'s Block<'s, T>,
[INFO] [stdout]      |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `comparison` is never used
[INFO] [stdout]     --> src/rules/evaluate.rs:1151:19
[INFO] [stdout]      |
[INFO] [stdout] 1151 |     pub(super) fn comparison(&mut self, status: Status, from: Option<PathAwareValue>, to: Option<PathAwareValue>, cmp: (CmpOperator, bool...
[INFO] [stdout]      |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `context` is never used
[INFO] [stdout]   --> src/rules/parser.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub(crate) fn context(&self) -> &str {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `span` is never used
[INFO] [stdout]   --> src/rules/parser.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub(crate) fn span(&self) -> &Span<'a> {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `kind` is never used
[INFO] [stdout]   --> src/rules/parser.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub(crate) fn kind(&self) -> nom::error::ErrorKind {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_binary` is never used
[INFO] [stdout]   --> src/rules/values.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub(crate) fn is_binary(&self) -> bool { !self.is_unary() }
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `drop_last` is never used
[INFO] [stdout]   --> src/rules/path_value.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub(crate) fn drop_last(&mut self) -> &mut Self {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `extend_with_value` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub(crate) fn extend_with_value(&self, part: &Value) -> Result<Path, Error> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_scalar` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:675:19
[INFO] [stdout]     |
[INFO] [stdout] 675 |     pub(crate) fn is_scalar(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SAMPLE_MULTIPLE` is never used
[INFO] [stdout]   --> src/rules/path_value_tests.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const SAMPLE_MULTIPLE : &str = r#"{
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RULES` is never used
[INFO] [stdout]   --> src/commands/mod.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r");
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA` is never used
[INFO] [stdout]   --> src/commands/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d");
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_and_return_json` is never used
[INFO] [stdout]    --> src/commands/validate.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn validate_and_return_json(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_file_name` is never read
[INFO] [stdout]    --> src/commands/validate.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub(crate) struct ConsoleReporter<'r> {
[INFO] [stdout]     |                   --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 337 |     data_file_name: &'r str,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConsoleReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/validate.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct GenericSummary<'a> {
[INFO] [stdout]    |                   -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GenericSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub(crate) struct CfnReporter<'a> {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CfnReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/rulegen.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/test.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/parse_tree.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/migrate.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     data: &str,
[INFO] [stdout]    |           ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     rules: &str,
[INFO] [stdout]    |            ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<std::string::String, errors::Error>`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | ) -> crate::rules::Result<String> {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/validate.rs:46:28
[INFO] [stdout]    |
[INFO] [stdout] 46 |               writer: &mut Write,
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 -               writer: &mut Write,
[INFO] [stdout] 46 +               writer: &mut dyn Write,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/rules/evaluate.rs:950:9
[INFO] [stdout]     |
[INFO] [stdout] 950 | /         extract_variables(&rules.assignments,
[INFO] [stdout] 951 | |                           &mut literals,
[INFO] [stdout] 952 | |                           &mut pending);
[INFO] [stdout]     | |________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/rules/evaluate.rs:1046:9
[INFO] [stdout]      |
[INFO] [stdout] 1046 | /         extract_variables(&block_type.assignments,
[INFO] [stdout] 1047 | |                           &mut literals,
[INFO] [stdout] 1048 | |                           &mut pending);
[INFO] [stdout]      | |________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/rules/values.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 write!(f, "{},{}", range.lower, range.upper);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate.rs:201:21
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     reader.read_to_string(&mut context);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |             reader.read_to_string(&mut context);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate/generic_summary.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             writeln!(writer, "--");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/common.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 | /         match &self.hierarchy_type {
[INFO] [stdout] 97 | |             StructureType::JSON => writeln!(writer, "{}", serde_json::to_string(&value)?),
[INFO] [stdout] 98 | |             StructureType::YAML => writeln!(writer, "{}", serde_yaml::to_string(&value)?),
[INFO] [stdout] 99 | |         };
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             writeln!(writer, "{}", "SKIP rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |             writeln!(writer, "{}", "PASS rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             writeln!(writer, "{}", "FAILED rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate/cfn_reporter.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             writeln!(writer, "--");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/rulegen.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             write!(writer,"{}", generated_rules);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/migrate.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             writeln!(&mut migrated, "{}", assignment);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/migrate.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         writeln!(&mut migrated, "let {} = Resources.*[ Type == \"{}\" ]", each_type, each_type.type_name);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         writeln!(&mut migrated, "rule {name}_checks WHEN %{name} NOT EMPTY {{", name=each_type);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         writeln!(&mut migrated, "    %{} {{", each_type);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             writeln!(&mut migrated, "        {}", *each_clause);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         writeln!(&mut migrated, "    }}\n}}\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `query:` in this pattern is redundant
[INFO] [stdout]   --> src/commands/aws_meta_appender.rs:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   let AccessQuery { query: query, match_all: all } =
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ help: use shorthand field pattern: `query`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_shorthand_field_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/migrate/parser.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         writeln!(f, "when {} {{", self.when_condition);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/migrate/parser.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         writeln!(f, "            {}", self.check_condition);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 89 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::Colorize`
[INFO] [stdout]  --> src/rules/evaluate.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::Colorize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitFlag`
[INFO] [stdout]   --> src/commands/validate.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | use enumflags2::{BitFlag, BitFlags};
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]   --> src/commands/validate/common.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 |               skipped: HashSet<String>, longest_rule_len: usize) -> crate::rules::Result<()>
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]    --> src/commands/validate/common.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |     longest_rule_len: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitFlag`
[INFO] [stdout]   --> src/commands/validate.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | use enumflags2::{BitFlag, BitFlags};
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2089:36
[INFO] [stdout]      |
[INFO] [stdout] 2089 |         fn resolve_variable(&self, variable: &str) -> Result<Vec<&PathAwareValue>> {
[INFO] [stdout]      |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule_name`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2093:31
[INFO] [stdout]      |
[INFO] [stdout] 2093 |         fn rule_status(&self, rule_name: &str) -> Result<Status> {
[INFO] [stdout]      |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2097:61
[INFO] [stdout]      |
[INFO] [stdout] 2097 | ... eval_type: EvaluationType, context: &str, msg: String, from: Option<PathAwareValue>, to: Option<PathAwareValue>, status: Option<Statu...
[INFO] [stdout]      |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eval_type`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2117:36
[INFO] [stdout]      |
[INFO] [stdout] 2117 |         fn start_evaluation(&self, eval_type: EvaluationType, context: &str) {
[INFO] [stdout]      |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]     --> src/rules/evaluate_tests.rs:2117:63
[INFO] [stdout]      |
[INFO] [stdout] 2117 |         fn start_evaluation(&self, eval_type: EvaluationType, context: &str) {
[INFO] [stdout]      |                                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clause`
[INFO] [stdout]     --> src/rules/parser_tests.rs:4121:17
[INFO] [stdout]      |
[INFO] [stdout] 4121 |     let (_span, clause) = rule_block_clause(from_str2(when_inside_when))?;
[INFO] [stdout]      |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clause`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]   --> src/commands/validate/common.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 |               skipped: HashSet<String>, longest_rule_len: usize) -> crate::rules::Result<()>
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]    --> src/commands/validate/common.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |     longest_rule_len: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:42:36
[INFO] [stdout]    |
[INFO] [stdout] 42 |         fn resolve_variable(&self, variable: &str) -> Result<Vec<&PathAwareValue>> {
[INFO] [stdout]    |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule_name`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |         fn rule_status(&self, rule_name: &str) -> Result<Status> {
[INFO] [stdout]    |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eval_type`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:34
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...   fn end_evaluation(&self, eval_type: EvaluationType, context: &str, msg: String, from: Option<PathAwareValue>, to: Option<PathAwareV...
[INFO] [stdout]    |                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:61
[INFO] [stdout]    |
[INFO] [stdout] 50 | ... eval_type: EvaluationType, context: &str, msg: String, from: Option<PathAwareValue>, to: Option<PathAwareValue>, status: Option<Statu...
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:89
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...e, context: &str, msg: String, from: Option<PathAwareValue>, to: Option<PathAwareValue>, status: Option<Status>, _cmp: Option<(CmpOper...
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:119
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...g, from: Option<PathAwareValue>, to: Option<PathAwareValue>, status: Option<Status>, _cmp: Option<(CmpOperator, bool)>) {
[INFO] [stdout]    |                                     ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:50:147
[INFO] [stdout]    |
[INFO] [stdout] 50 | ... to: Option<PathAwareValue>, status: Option<Status>, _cmp: Option<(CmpOperator, bool)>) {
[INFO] [stdout]    |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eval_type`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:57:36
[INFO] [stdout]    |
[INFO] [stdout] 57 |         fn start_evaluation(&self, eval_type: EvaluationType, context: &str) {
[INFO] [stdout]    |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/commands/aws_meta_appender_tests.rs:57:63
[INFO] [stdout]    |
[INFO] [stdout] 57 |         fn start_evaluation(&self, eval_type: EvaluationType, context: &str) {
[INFO] [stdout]    |                                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]    --> src/rules/evaluate.rs:936:5
[INFO] [stdout]     |
[INFO] [stdout] 935 | pub(crate) struct RootScope<'s, 'loc> {
[INFO] [stdout]     |                   --------- field in this struct
[INFO] [stdout] 936 |     rules: &'s RulesFile<'loc>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `RootScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_type` is never read
[INFO] [stdout]     --> src/rules/evaluate.rs:1034:5
[INFO] [stdout]      |
[INFO] [stdout] 1033 | pub(crate) struct BlockScope<'s, T> {
[INFO] [stdout]      |                   ---------- field in this struct
[INFO] [stdout] 1034 |     block_type: &'s Block<'s, T>,
[INFO] [stdout]      |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `comparison` is never used
[INFO] [stdout]     --> src/rules/evaluate.rs:1151:19
[INFO] [stdout]      |
[INFO] [stdout] 1151 |     pub(super) fn comparison(&mut self, status: Status, from: Option<PathAwareValue>, to: Option<PathAwareValue>, cmp: (CmpOperator, bool...
[INFO] [stdout]      |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `context` is never used
[INFO] [stdout]   --> src/rules/parser.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub(crate) fn context(&self) -> &str {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `span` is never used
[INFO] [stdout]   --> src/rules/parser.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub(crate) fn span(&self) -> &Span<'a> {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `kind` is never used
[INFO] [stdout]   --> src/rules/parser.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub(crate) fn kind(&self) -> nom::error::ErrorKind {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_linked_hashmap` is never used
[INFO] [stdout]    --> src/rules/values.rs:309:15
[INFO] [stdout]     |
[INFO] [stdout] 309 | pub(super) fn make_linked_hashmap<'a, I>(values: I) -> IndexMap<String, Value>
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_binary` is never used
[INFO] [stdout]   --> src/rules/values.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub(crate) fn is_binary(&self) -> bool { !self.is_unary() }
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `drop_last` is never used
[INFO] [stdout]   --> src/rules/path_value.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub(crate) fn drop_last(&mut self) -> &mut Self {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `extend_with_value` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub(crate) fn extend_with_value(&self, part: &Value) -> Result<Path, Error> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_scalar` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:675:19
[INFO] [stdout]     |
[INFO] [stdout] 675 |     pub(crate) fn is_scalar(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RULES` is never used
[INFO] [stdout]   --> src/commands/mod.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r");
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA` is never used
[INFO] [stdout]   --> src/commands/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d");
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_and_return_json` is never used
[INFO] [stdout]    --> src/commands/validate.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn validate_and_return_json(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_file_name` is never read
[INFO] [stdout]    --> src/commands/validate.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub(crate) struct ConsoleReporter<'r> {
[INFO] [stdout]     |                   --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 337 |     data_file_name: &'r str,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConsoleReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_result_json` is never used
[INFO] [stdout]    --> src/commands/validate.rs:438:12
[INFO] [stdout]     |
[INFO] [stdout] 438 |     pub fn get_result_json(self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct GenericSummary<'a> {
[INFO] [stdout]    |                   -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GenericSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub(crate) struct CfnReporter<'a> {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CfnReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_and_return_json` is never used
[INFO] [stdout]   --> src/commands/helper.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn validate_and_return_json(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_resource_types_in_ruleset` is never used
[INFO] [stdout]    --> src/commands/migrate.rs:132:16
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub (crate) fn get_resource_types_in_ruleset(rules: &Vec<RuleLineType>) -> Result<Vec<TypeName>> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/rules/evaluate.rs:950:9
[INFO] [stdout]     |
[INFO] [stdout] 950 | /         extract_variables(&rules.assignments,
[INFO] [stdout] 951 | |                           &mut literals,
[INFO] [stdout] 952 | |                           &mut pending);
[INFO] [stdout]     | |________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/rules/evaluate.rs:1046:9
[INFO] [stdout]      |
[INFO] [stdout] 1046 | /         extract_variables(&block_type.assignments,
[INFO] [stdout] 1047 | |                           &mut literals,
[INFO] [stdout] 1048 | |                           &mut pending);
[INFO] [stdout]      | |________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/rules/values.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 write!(f, "{},{}", range.lower, range.upper);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate.rs:201:21
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     reader.read_to_string(&mut context);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |             reader.read_to_string(&mut context);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate/generic_summary.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             writeln!(writer, "--");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/common.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 | /         match &self.hierarchy_type {
[INFO] [stdout] 97 | |             StructureType::JSON => writeln!(writer, "{}", serde_json::to_string(&value)?),
[INFO] [stdout] 98 | |             StructureType::YAML => writeln!(writer, "{}", serde_yaml::to_string(&value)?),
[INFO] [stdout] 99 | |         };
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             writeln!(writer, "{}", "SKIP rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |             writeln!(writer, "{}", "PASS rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             writeln!(writer, "{}", "FAILED rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate/cfn_reporter.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             writeln!(writer, "--");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/rulegen.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             write!(writer,"{}", generated_rules);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/migrate.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             writeln!(&mut migrated, "{}", assignment);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/migrate.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         writeln!(&mut migrated, "let {} = Resources.*[ Type == \"{}\" ]", each_type, each_type.type_name);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         writeln!(&mut migrated, "rule {name}_checks WHEN %{name} NOT EMPTY {{", name=each_type);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         writeln!(&mut migrated, "    %{} {{", each_type);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             writeln!(&mut migrated, "        {}", *each_clause);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         writeln!(&mut migrated, "    }}\n}}\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `query:` in this pattern is redundant
[INFO] [stdout]   --> src/commands/aws_meta_appender.rs:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   let AccessQuery { query: query, match_all: all } =
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ help: use shorthand field pattern: `query`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_shorthand_field_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/migrate/parser.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         writeln!(f, "when {} {{", self.when_condition);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/migrate/parser.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         writeln!(f, "            {}", self.check_condition);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 62 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]    --> src/rules/evaluate.rs:936:5
[INFO] [stdout]     |
[INFO] [stdout] 935 | pub(crate) struct RootScope<'s, 'loc> {
[INFO] [stdout]     |                   --------- field in this struct
[INFO] [stdout] 936 |     rules: &'s RulesFile<'loc>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `RootScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_type` is never read
[INFO] [stdout]     --> src/rules/evaluate.rs:1034:5
[INFO] [stdout]      |
[INFO] [stdout] 1033 | pub(crate) struct BlockScope<'s, T> {
[INFO] [stdout]      |                   ---------- field in this struct
[INFO] [stdout] 1034 |     block_type: &'s Block<'s, T>,
[INFO] [stdout]      |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `comparison` is never used
[INFO] [stdout]     --> src/rules/evaluate.rs:1151:19
[INFO] [stdout]      |
[INFO] [stdout] 1151 |     pub(super) fn comparison(&mut self, status: Status, from: Option<PathAwareValue>, to: Option<PathAwareValue>, cmp: (CmpOperator, bool...
[INFO] [stdout]      |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `context` is never used
[INFO] [stdout]   --> src/rules/parser.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub(crate) fn context(&self) -> &str {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `span` is never used
[INFO] [stdout]   --> src/rules/parser.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub(crate) fn span(&self) -> &Span<'a> {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `kind` is never used
[INFO] [stdout]   --> src/rules/parser.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub(crate) fn kind(&self) -> nom::error::ErrorKind {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_binary` is never used
[INFO] [stdout]   --> src/rules/values.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub(crate) fn is_binary(&self) -> bool { !self.is_unary() }
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `drop_last` is never used
[INFO] [stdout]   --> src/rules/path_value.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub(crate) fn drop_last(&mut self) -> &mut Self {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `extend_with_value` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub(crate) fn extend_with_value(&self, part: &Value) -> Result<Path, Error> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_scalar` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:675:19
[INFO] [stdout]     |
[INFO] [stdout] 675 |     pub(crate) fn is_scalar(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SAMPLE_MULTIPLE` is never used
[INFO] [stdout]   --> src/rules/path_value_tests.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const SAMPLE_MULTIPLE : &str = r#"{
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RULES` is never used
[INFO] [stdout]   --> src/commands/mod.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r");
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA` is never used
[INFO] [stdout]   --> src/commands/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d");
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_and_return_json` is never used
[INFO] [stdout]    --> src/commands/validate.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn validate_and_return_json(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_file_name` is never read
[INFO] [stdout]    --> src/commands/validate.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub(crate) struct ConsoleReporter<'r> {
[INFO] [stdout]     |                   --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 337 |     data_file_name: &'r str,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConsoleReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_result_json` is never used
[INFO] [stdout]    --> src/commands/validate.rs:438:12
[INFO] [stdout]     |
[INFO] [stdout] 438 |     pub fn get_result_json(self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct GenericSummary<'a> {
[INFO] [stdout]    |                   -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GenericSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub(crate) struct CfnReporter<'a> {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CfnReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_and_return_json` is never used
[INFO] [stdout]   --> src/commands/helper.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn validate_and_return_json(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/rules/evaluate.rs:950:9
[INFO] [stdout]     |
[INFO] [stdout] 950 | /         extract_variables(&rules.assignments,
[INFO] [stdout] 951 | |                           &mut literals,
[INFO] [stdout] 952 | |                           &mut pending);
[INFO] [stdout]     | |________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/rules/evaluate.rs:1046:9
[INFO] [stdout]      |
[INFO] [stdout] 1046 | /         extract_variables(&block_type.assignments,
[INFO] [stdout] 1047 | |                           &mut literals,
[INFO] [stdout] 1048 | |                           &mut pending);
[INFO] [stdout]      | |________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/rules/values.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 write!(f, "{},{}", range.lower, range.upper);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate.rs:201:21
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     reader.read_to_string(&mut context);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |             reader.read_to_string(&mut context);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate/generic_summary.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             writeln!(writer, "--");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/common.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 | /         match &self.hierarchy_type {
[INFO] [stdout] 97 | |             StructureType::JSON => writeln!(writer, "{}", serde_json::to_string(&value)?),
[INFO] [stdout] 98 | |             StructureType::YAML => writeln!(writer, "{}", serde_yaml::to_string(&value)?),
[INFO] [stdout] 99 | |         };
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             writeln!(writer, "{}", "SKIP rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |             writeln!(writer, "{}", "PASS rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/validate/summary_table.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             writeln!(writer, "{}", "FAILED rules".bold());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/validate/cfn_reporter.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             writeln!(writer, "--");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/rulegen.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             write!(writer,"{}", generated_rules);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/migrate.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             writeln!(&mut migrated, "{}", assignment);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands/migrate.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         writeln!(&mut migrated, "let {} = Resources.*[ Type == \"{}\" ]", each_type, each_type.type_name);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         writeln!(&mut migrated, "rule {name}_checks WHEN %{name} NOT EMPTY {{", name=each_type);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         writeln!(&mut migrated, "    %{} {{", each_type);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             writeln!(&mut migrated, "        {}", *each_clause);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/commands/migrate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         writeln!(&mut migrated, "    }}\n}}\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `query:` in this pattern is redundant
[INFO] [stdout]   --> src/commands/aws_meta_appender.rs:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   let AccessQuery { query: query, match_all: all } =
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ help: use shorthand field pattern: `query`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_shorthand_field_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/migrate/parser.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         writeln!(f, "when {} {{", self.when_condition);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/migrate/parser.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         writeln!(f, "            {}", self.check_condition);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 83 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 41.49s
[INFO] running `Command { std: "docker" "inspect" "a4a2011f6d66a8941bc4caab3f2e609e8e898ddc5030b252bae3850dc57f3cac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4a2011f6d66a8941bc4caab3f2e609e8e898ddc5030b252bae3850dc57f3cac", kill_on_drop: false }`
[INFO] [stdout] a4a2011f6d66a8941bc4caab3f2e609e8e898ddc5030b252bae3850dc57f3cac
